package com.gitee.huxing.klass;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Description: 学校信息
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.klass
 * @ClassName: School
 * @Author: huxing
 * @DateTime: 2021-09-04 下午10:29
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.klass.school")
public class School {

    /** 学校名称 **/
    private String name;

    /** 学校地址 **/
    private String address;

    /** 学生列表 **/
    private List<Student> students;

}

